package com.anjubao.parking.municipal.parkinglot.model;

import com.anjubao.parking.municipal.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 充电桩
 *
 * @author zhuchunfeng
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("parking_lot_device_charging_pile")
@ApiModel(value="ParkingLotDeviceChargingPile",description = "充电桩")
public class ParkingLotDeviceChargingPile extends BaseEntity<ParkingLotDeviceChargingPile>{

    @TableField(value="id")
    @ApiModelProperty(name="id",value = "设备id")
    private Long id;

    @TableField(value="code")
    @ApiModelProperty(name="code",value = "设备编号")
    private String code;

    @TableField(value="machine_code")
    @ApiModelProperty(name="machineCode",value = "机器码")
    private String machineCode;

    @TableField(value="name")
    @ApiModelProperty(name="name",value = "设备名称")
    private String name;

    @TableField(value="parking_lot_bill_rule_id")
    @ApiModelProperty(name="parkingLotBillRuleId",value = "停车场计费规则")
    private Long parkingLotBillRuleId;

    @TableField(value="parking_lot_bill_rule_code")
    @ApiModelProperty(name="parkingLotBillRuleCode",value = "停车场计费规则编码")
    private String parkingLotBillRuleCode;

    @TableField(value="parking_lot_slot_id")
    @ApiModelProperty(name="parkingLotSlotId",value = "停车场停车位ID")
    private Long parkingLotSlotId;

    @TableField(value="parking_lot_slot_code")
    @ApiModelProperty(name="parkingLotSlotCode",value = "停车场停车位编号")
    private String parkingLotSlotCode;

    @TableField(value="parking_lot_slot_name")
    @ApiModelProperty(name="parkingLotSlotName",value = "停车场停车位名称")
    private String parkingLotSlotName;

    @TableField(value="parking_lot_id")
    @ApiModelProperty(name="parkingLotId",value = "停车场ID")
    private Long parkingLotId;

    @TableField(value="parking_lot_code")
    @ApiModelProperty(name="parkingLotCode",value = "停车场编号,code生成规则为100(3位)+yyMMddHHmm(10位)+id(19位)")
    private String parkingLotCode;

    @TableField(value="parking_lot_name")
    @ApiModelProperty(name="parkingLotName",value = "停车场名称")
    private String parkingLotName;

    @TableField(value="parking_lot_province_id")
    @ApiModelProperty(name="parkingLotProvinceId",value = "停车场所在省份ID")
    private Integer parkingLotProvinceId;

    @TableField(value="parking_lot_province_name")
    @ApiModelProperty(name="parkingLotProvinceName",value = "停车场所在省份名称")
    private String parkingLotProvinceName;

    @TableField(value="parking_lot_city_id")
    @ApiModelProperty(name="parkingLotCityId",value = "停车场所在城市ID")
    private Integer parkingLotCityId;

    @TableField(value="parking_lot_city_name")
    @ApiModelProperty(name="parkingLotCityName",value = "停车场所在城市名称")
    private String parkingLotCityName;

    @TableField(value="parking_lot_district_id")
    @ApiModelProperty(name="parkingLotDistrictId",value = "停车场所在区域ID")
    private Integer parkingLotDistrictId;

    @TableField(value="parking_lot_district_name")
    @ApiModelProperty(name="parkingLotDistrictName",value = "停车场所在区域名称")
    private String parkingLotDistrictName;

    @TableField(value="max_power")
    @ApiModelProperty(name="maxPower",value = "最大功率")
    private Integer maxPower;

    @TableField(value="last_report_time")
    @ApiModelProperty(name="lastReportTime",value = "最后报到时间")
    private LocalDateTime lastReportTime;

    @TableField(value="note")
    @ApiModelProperty(name="note",value = "备注")
    private String note;


}